﻿
// MFCApplication3Dlg.h: 头文件
//




#include "stdafx.h"
#include "MFCApplication3.h"
#include "afxdialogex.h"
#include<opencv2/core/core.hpp>
#include<opencv2/highgui/highgui.hpp>
#include<opencv2/imgproc/imgproc.hpp>
#include<string>

#pragma once
#include <vector>
#include <sstream>
#include <regex>
#include<mysql.h>


#define _CRT_SECURE_NO_DEPRECATE
#include <iostream>
#include <stdio.h>
#include "opencv2/core.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/core/ocl.hpp"
#include "opencv2/imgcodecs.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/features2d.hpp"
#include "opencv2/calib3d.hpp"
#include "opencv2/imgproc.hpp"
#include"opencv2/flann.hpp"
#include"opencv2/xfeatures2d.hpp"
#include"opencv2/ml.hpp"
#include"opencv2/face.hpp"
#include"opencv2/face/facerec.hpp"
#include"opencv2/objdetect.hpp"
#include <opencv2/face/facerec.hpp>
#include <opencv2/opencv.hpp>
#include <regex>



// CMFCApplication3Dlg 对话框
class CMFCApplication3Dlg : public CDialogEx
{
// 构造
public:
	CMFCApplication3Dlg(CWnd* pParent = nullptr);	// 标准构造函数

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_MFCAPPLICATION3_DIALOG };
#endif

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV 支持
	CBrush m_brush;

// 实现
protected:
	HICON m_hIcon;

	// 生成的消息映射函数
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
	//CBrush m_brush;
public:
	afx_msg void OnBnClickedVideo();
	afx_msg void OnBnClickedTakephoto();
	afx_msg void OnBnClickedInputinfo();
	afx_msg void string_replace(std::string &strBig, const std::string &strsrc, const std::string &strdst);
	afx_msg void OnBnClickedInputPic();
	afx_msg void OnBnClickedPipei();
	afx_msg void data_train();
	afx_msg void detectAndDisplay();
	//afx_msg Mat detectAndDisplay1(Mat frame);
	afx_msg void print();
	afx_msg void OnStnClickedShipin();
	afx_msg void OnEnChangeEdit1();
	CEdit m_edit;
	//afx_msg void OnBnClickedButton1();
	afx_msg void OnEnChangeInputname3();
	afx_msg void OnBnClickedClose();
	afx_msg void OnStnClickedStatic1();
	//CStatic m_brush;
};
